{include file="header.tpl"}

<div id="main">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>

<div id="leftbox">
<h2>{if $thisnews}<span class=lightgrey>{$lan_title}:</span>&nbsp;{$thisnews.title|ShortTitle:60}{else}{$lan_webnews}{/if}</h2>

 {''|GetSystemInfo}

<div id="leftbox_main">
{if $news}
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="newslist">
{section name=new loop=$news}
<tr style="background:{cycle values='#F5FAFF,#FFF'};">
<td class="newstitle"><span class=lightgrey><i>{math equation="x + y" x=$smarty.section.new.rownum y=$start}</i>.</span>&nbsp;&nbsp;<a href="{'news.php'|GetUrl:'id':$news[new].newid}">{$news[new].title|ShortTitle:72}</a></td>
<td class="newsdate">{$news[new].created|DisplayDate:'Y-m-d'}</td>
</tr>
{/section}
</table>
{$pagelist}
{elseif $thisnews}
<div class="news_info">{$lan_author}: <a href="javascript:void(0);">{$thisnews.username}</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lan_date}: <i>{$thisnews.created|DisplayDate:'Y-m-d'}</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lan_hits}: <i>{$thisnews.viewcount}</i></div>
{$thisnews.content|html}
{else}
{$lan_nonews}
{/if}
</div>

 </div>


<div id="rightbox">
<h2>{$lan_randompics}</h2>
<div id="rightbox_main">
{if $loginforview}
{$loginforview}
{else}
{section name=image loop=$images}
<div class="thumb-sml">
<table>
<thead>
<tr>
<th><a href="{'InterPhoto.php'|GetUrl:'id':$images[image].imageid}">
<img src="InterPhoto.thumbnail.php?file={$images[image].path|cat:"/1/"|cat:$images[image].filename|InterEncode}" class="thumbnail" alt="{$images[image].title|default:$lan_notitle}" title="{$images[image].title|default:$lan_notitle}" onMouseMove="ShowBigImage();" /></a></th>
</tr>
</thead>
</table>
</div>
{/section}
{/if}
</div>
</div>

</td>
</tr>
</table>
</div>


{include file="footer.tpl"}
